package com.yl.pattern.structuralmodel.proxy.jdk_proxy;

/**
 * @Author 小羊
 * @Date 30/10/2024下午 7:49
 * @ClassName Client
 * @Description Client
 */
public class Client {
    public static void main(String[] args) {
        //获取代理对象
        ProxyFactory factory = new ProxyFactory();

        SellTickets proxyObject = factory.getProxyObject();
        proxyObject.sell();

    }
}
